package com.example.mybatis.business;

import com.example.mybatis.model.CityTO;

import java.util.List;
import java.util.Map;

public interface ICityBusiness {

    List<CityTO> queryByParentCode(String parentCode);

    Map<String,List<CityTO>> queryByParentCodes(List<String> parentCodes);

    List<String> queryExistCityCodes(List<String> cityCodes);

    void batchAddCities(List<CityTO> cityTOS);

    void batchUpdateCities(List<CityTO> cityTOS);



}
